package com.devops.jarmonitor.controller;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Web界面控制器
 */
@Controller
@RequiredArgsConstructor
public class WebController {

    /**
     * 主页
     */
    @GetMapping("/")
    public String index() {
        return "index";
    }
}
